package com.lagou;

import org.apache.dubbo.config.RegistryConfig;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.context.annotation.*;


public class DubboPureMain {
    public static void main(String[] args) throws Exception {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ProviderConfiguration.class);
        context.start();

        System.in.read();
    }


    @Configuration
    @PropertySource("classpath:/dubbo-provider.properties")
    @ComponentScan("com.lagou.service.impl")
    @EnableDubbo
    static class ProviderConfiguration {

    }


}
